curl --request PUT \
--url https://cloud.volttime.com/api/v3/sites/{site_uuid}/smart-charging \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"timezone": "Asia/Yekaterinburg",
"smart_charging": "off_peak",
"day_ahead_pricing_strategy": "automatic",
"day_ahead_pricing_threshold": 16,
"off_peak_start": "13:42",
"off_peak_end": "13:42"
}'
{
"data": {
"timezone": null,
"smart_charging": "disabled",
"day_ahead_pricing_strategy": "automatic",
"day_ahead_pricing_threshold": null,
"day_ahead_pricing_smart_mode_price": null,
"off_peak_start": "23:00",
"off_peak_end": "07:00"
}
}
See the documentation for more information.
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://cloud.volttime.com/api/v3/sites/{site_uuid}/smart-charging \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"timezone": "Asia/Yekaterinburg",
"smart_charging": "off_peak",
"day_ahead_pricing_strategy": "automatic",
"day_ahead_pricing_threshold": 16,
"off_peak_start": "13:42",
"off_peak_end": "13:42"
}'
{
"data": {
"timezone": null,
"smart_charging": "disabled",
"day_ahead_pricing_strategy": "automatic",
"day_ahead_pricing_threshold": null,
"day_ahead_pricing_smart_mode_price": null,
"off_peak_start": "23:00",
"off_peak_end": "07:00"
}
}